#include "../../Headers/Classes/typeofroom.h"

TypeOfRoom::TypeOfRoom()
{
    setId(0);
    setName("");
    setCount(0);
    setCost(0);
}

TypeOfRoom::TypeOfRoom(int id, QString name, int count, double cost)
{
    setId(id);
    setName(name);
    setCount(count);
    setCost(cost);
}

void TypeOfRoom::setId(int id)
{
    this->id = id;
}

void TypeOfRoom::setName(QString name)
{
    this->name = name;
}

int TypeOfRoom::getId()
{
    return id;
}

QString TypeOfRoom::getName()
{
    return name;
}

void TypeOfRoom::setCount(int count)
{
    this->count = count;
}

void TypeOfRoom::setCost(double cost)
{
    this->cost = cost;
}

int TypeOfRoom::getCount()
{
    return count;
}

double TypeOfRoom::getCost()
{
    return cost;
}
